﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace OrderingPlatform.Model.UserManage
{
    public class LogOnModel
    {
        [Required(ErrorMessage = "用户名不能为空")]
        [DisplayName("用户名：")]
        public string UserCode { get; set; }
        [Required(ErrorMessage = "密码不能为空")]
        [DataType(DataType.Password)]
        [DisplayName("密　码：")]
        public string Password { get; set; }

        [DisplayName("记住我：")]
        public bool RememberMe { get; set; }

        public string ReturnUrl { get; set; }
    }
}
